<div id="edit_media_header">
	<div id="edit_media_image_text">
		<span><?php echo $aMessages['admin_edit_media_header_editing'].' '.$oMedia->media_title; ?></span>
		<span id="edit_media_image_zoom"></span>
	</div>
	<div id="edit_media_image_close"></div>
	<div id="edit_media_image_save"></div>
	<div class="<?php echo $this->config->item('site_accr'); ?>_clear"></div>
</div>

<div id="edit_media_cont">
	<div id="edit_media_left">
		<div id="edit_media_tools_header" class="image_tool_header">
			<?php echo $aMessages['admin_edit_media_editing_tools']; ?>
		</div>
		<div id="edit_media_tools">
			<?php

			$iCount = 1;
						
			foreach ($this->config->item('admin_image_editing_tools') as $sKey => $sPos) 
			{
				$sClassName = 'edit_media_tool';
				
				if ($iCount === 4)
				{
					$sClassName .= ' edit_media_tool_nm';
				}
				?>
				<div class="<?php echo $sClassName; ?>" id="media_tool_<?php echo $sKey; ?>"></div>	
				<?php	
				
				if ($iCount === 4) 
				{
					?><div class="<?php echo $this->config->item('site_accr'); ?>_clear"></div><?php
					$iCount = 0;
				}
				
				$iCount++;
			}
			
			?>
		</div>
		
		<div id="edit_media_tool_cont">
			
		</div>
		
		<div id="edit_media_history_cont">
			<div class="image_tool_header"><?php echo $aMessages['admin_edit_media_editing_history']; ?></div>
			<div id="edit_media_history"></div>
		</div>
	</div>
	<div id="edit_media_right">
		<img id="edit_media_image" style="width: <?php echo $oMedia->dimension_width; ?>px; height: <?php echo $oMedia->dimension_height; ?>px;" src="/assets/media/web/<?php echo $oMedia->media_subfolder.'/'.$oMedia->media_id.'.'.$oMedia->extension_ext; ?>" alt="<?php echo $oMedia->media_title; ?>" />
	</div>
	<div class="<?php echo $this->config->item('site_accr'); ?>_clear"></div>
</div>